<?php 	
	include("db.php");
	// enable PHP session
	session_start();
	// if not login yet, redirect to login page
	if ( !isset($_SESSION['userEmail']) ) header("Location: login.php");	
?>